package com.books.mapper.admin;

import com.books.model.tool.VipNumTool;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author 饿熊的咆哮
 * @Date 2021/10/2 9:37
 * @Version 1.0
 */
@Mapper
public interface VipNumToolMapper {
    @Select("select count(*) vip_num,vip_id from people group by vip_id ")
    List<VipNumTool> findAll();
}
